package com.jacen.fzxs.manager.task.init;

import javax.annotation.Resource;
import javax.servlet.ServletContext;

import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicationContext;

import com.jacen.fzxs.manager.task.ISystemInitTask;
import com.jacen.fzxs.service.IRightService;

/**
 * 权限初始化任务
 * @author Administrator
 *
 */
@Component
public class RightInitTask implements ISystemInitTask {
	
	@Resource
	private IRightService rightService;

	@Override
	public int onSysInit(ServletContext servletContext, WebApplicationContext springContext) {
		
		return SUCCESS;
	}

	@Override
	public int onSysDestroy(ServletContext servletContext, WebApplicationContext springContex) {
		// TODO Auto-generated method stub
		return SUCCESS;
	}

}
